package ask.speedy.util;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class XMLParser {
    
	public XMLParser() {
		
	}
	
    public void parseXML() {
    	
        try {
//        	InputStream is = context.getResources().getAssets().open(Constant.XML_FILENAME);
        	InputStream is = new FileInputStream(Constant.LOCAL_XML_PATH + Constant.XML_FILENAME);
        	InputStream tutorial_is = new FileInputStream(Constant.LOCAL_XML_PATH + Constant.TUTORIAL_FILENAME);
        	
        	if ((is != null) && (tutorial_is != null)) {
				@SuppressWarnings("unused")
				ContainerParser containerParser = new ContainerParser(is, tutorial_is);
        	}
        }
        catch (IOException e) {
        	e.printStackTrace();
        } catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
    }
}
